--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit c25b56db9aaa7e144ae4da48a2256ecfa2a720cb
Parents : a4b6129
Author : Mark Qvist <bc7291552be7a58f361522990465165c>
Signature : T66BB85Valid, signed by author
Date : 2026-07-24T02:29:51+02:00
Fixed discovered interfaces getting connected as BackboneInterface clients instead of TCPClientInterface on darwin
Changes
Diff
diff --git a/RNS/Discovery.py b/RNS/Discovery.py
index d879991b0..c0b89bdd6 100644
--- a/RNS/Discovery.py
+++ b/RNS/Discovery.py
@@ -331,7 +331,7 @@ class InterfaceAnnounceHandler:
if IFAC_NETKEY in unpacked: info["ifac_netkey"] = str(unpacked[IFAC_NETKEY])
if interface_type in ["BackboneInterface", "TCPServerInterface"]:
- backbone_support = not RNS.vendor.platformutils.is_windows()
+ backbone_support = not RNS.vendor.platformutils.is_windows() and not RNS.vendor.platformutils.is_darwin()
info["reachable_on"] = unpacked[REACHABLE_ON]
info["port"] = unpacked[PORT]
connection_interface = "BackboneInterface" if backbone_support else "TCPClientInterface"
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────